package com.i72.goods.impl;

import com.alibaba.fastjson.JSON;
import com.i72.goods.api.AppleService;
import com.i72.goods.bean.Student;
import org.springframework.stereotype.Service;

@Service
public class AppleServiceImpl implements AppleService {

    @Override
    public String get(String value) {
        return "apple:"+value;
    }

    @Override
    public String get2(Student student) {
        return JSON.toJSONString(student);
    }
}
